package com.nbsaas.boot.manufacturing.rest.convert;

import com.nbsaas.boot.manufacturing.data.entity.ProcessStep;
import com.nbsaas.boot.manufacturing.api.domain.response.ProcessStepResponse;

import com.nbsaas.boot.utils.BeanDataUtils;
import com.nbsaas.boot.rest.api.Converter;
/**
* 工艺步骤-实体对象转化成响应对象
*/

public class ProcessStepResponseConvert  implements Converter<ProcessStepResponse,ProcessStep> {

    @Override
    public ProcessStepResponse convert(ProcessStep source) {
        ProcessStepResponse  result = new  ProcessStepResponse();
        BeanDataUtils.copyProperties(source, result);
        return result;
    }

}

